package com.ruoyi.lm.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 首页轮播对象 lm_banner
 * 
 * @author ruoyi
 * @date 2020-09-02
 */
public class LmBanner extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 图片 */
    @Excel(name = "图片")
    private String bannerPic;

    /** 标题 */
    @Excel(name = "标题")
    private String bannerTitle;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createUser;

    /** banner图文 */
    @Excel(name = "banner图文")
    private String bannerUrl;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setBannerPic(String bannerPic) 
    {
        this.bannerPic = bannerPic;
    }

    public String getBannerPic() 
    {
        return bannerPic;
    }
    public void setBannerTitle(String bannerTitle) 
    {
        this.bannerTitle = bannerTitle;
    }

    public String getBannerTitle() 
    {
        return bannerTitle;
    }
    public void setCreateUser(String createUser) 
    {
        this.createUser = createUser;
    }

    public String getCreateUser() 
    {
        return createUser;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("bannerPic", getBannerPic())
            .append("bannerTitle", getBannerTitle())
            .append("createUser", getCreateUser())
            .append("createTime", getCreateTime())
            .toString();
    }

    public String getBannerUrl() {
        return bannerUrl;
    }

    public void setBannerUrl(String bannerUrl) {
        this.bannerUrl = bannerUrl;
    }
}
